package com.cmxh.shipper.service.impl;

import com.cmxh.shipper.mapper.LegalAuthenticationMapper;
import com.cmxh.shipper.pojo.LegalAuthentication;
import com.cmxh.shipper.service.LegalAuththenticationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class LegalAuththenticationServiceimpl implements LegalAuththenticationService {
    @Autowired
    private LegalAuthenticationMapper legalAuthenticationMapper;
    //查询
    @Override
    public LegalAuthentication selectByPrimaryKey(Integer eid) {
        LegalAuthentication legalAuthentication = legalAuthenticationMapper.selectByPrimaryKey(eid);
        return legalAuthentication;
    }

    @Override
    public int insertall(LegalAuthentication legalAuthentication) {
        int insertall = legalAuthenticationMapper.insertall(legalAuthentication);
        return insertall;
    }
}
